package com.base.factory.abstructfactory.factory;

import com.base.factory.abstructfactory.factory.impl.AsusFactory;
import com.base.factory.abstructfactory.service.ComputerService;
import com.base.factory.abstructfactory.service.impl.Asus;

/**
 * Created by xingyuchao on 2017-06-18.
 * 实现一个默认的工厂
 */
public class DefaultAbstructFactory extends  ComputerFactory{

    @Override
    public ComputerService getComputer() {
        return new AsusFactory().getComputer();
    }
}
